package cn.yili12.server.info.handler;

import cn.yili12.common.util.IdTool;
import cn.yili12.server.config.SystemProperties;
import cn.yili12.server.info.vo.InfoMessage;
import cn.yili12.server.websocket.NioWebSocketChannelPool;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;


@Slf4j
public class BaseInfoHandler {
    @Autowired
    protected NioWebSocketChannelPool webSocketChannelPool;
    @Autowired
    protected SystemProperties properties;
    @Autowired
    protected IdTool idTool;

    public boolean handler(InfoMessage message) {
        log.info("接收到消息：type={},no={},data={}", new Object[]{message.getType(), message.getNo(), message.getData()});
        return true;
    }
}
